package com.party.core.model.member;

import com.party.common.constant.Constant;

import java.util.Date;

/**
 * 合伙人统计详情
 * Created by wei.li.
 *
 * @date 2018/1/18 0018
 * @time 10:12
 */
public class MemberCopartnerDetailWithMember extends MemberCopartnerDetail {
    private static final long serialVersionUID = 4620568959170700132L;
    // 合伙人logo
    private String logo;
    // 合伙人昵称
    private String name;
    // 手机号
    private String mobile;
    // 注册时间
    private Date registerDate;

    //合伙人
    private Integer lowerNum;

    //自己获得的佣金
    private Float myCommission;

    public MemberCopartnerDetailWithMember() {
    }

    public MemberCopartnerDetailWithMember(Integer applyNum, Integer orderNum, Integer successNum,
                                           Double totalMoney, Double totalBrokerage, Double myBrokerage,
                                           Double notBalance, Double canWithdrawal) {
        super(applyNum, orderNum, successNum, totalMoney, totalBrokerage, myBrokerage, notBalance, canWithdrawal, Constant.OPTION_ADD);
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    @Override
    public Integer getLowerNum() {
        return lowerNum;
    }

    @Override
    public void setLowerNum(Integer lowerNum) {
        this.lowerNum = lowerNum;
    }

    @Override
    public Float getMyCommission() {
        return myCommission;
    }

    @Override
    public void setMyCommission(Float myCommission) {
        this.myCommission = myCommission;
    }

    @Override
    public String toString() {
        return "MemberCopartnerDetailWithMember{" +
                "logo='" + logo + '\'' +
                ", name='" + name + '\'' +
                ", mobile='" + mobile + '\'' +
                ", registerDate=" + registerDate +
                ", lowerNum=" + lowerNum +
                ", myCommission=" + myCommission +
                '}';
    }
}
